package com.xiao.mall.foundation.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author tangzhihui
 * @Date 2021/10/26
 */
@Configuration
@ConfigurationProperties(prefix="tencent.cloud.cos")
@Data
public class TencentCosProperties {
    private String secretId; //云 API 密钥中的  SecretId
    private String secretKey; //云 API 密钥中的  SecretKey
    private String bucketKey; //云 API 存储桶 bucketKey
//    private String policy;
//    private String host;
    private String region;
    private int durationSeconds;
}
